<?php
/*
 * @FileForDetails: 专业验证器
 * @Date: 2022-11-30 15:35:30
 */
namespace app\crm\validate\product;

use think\Validate;

class Major extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'name' => "require|max:100",
    ];

    /**
     * 提示消息
     */
    protected $message = [
    ];

    /**
     * 验证场景
     */
    protected $scene = [
        'add' => [],
        'edit' => [],
    ];
}